home *** CD-ROM | disk | FTP | other *** search
- 60 clr:gosub4000
- 80 dim p$(25),in$(25,5):gosub5000
- 100 poke53280,2:poke53281,0:printchr$(14):gosub2500:gosub5900
- 120 gosub800
- 140 h=1:g=0:l=8:lc=55590:p=8
- 150 fori=8to19:g=g+1:printleft$(l$,i)tab(14)"[154]"p$(g):next
- 204 f=len(p$(h)):fori=0tof:pokelc+i,7:next:gosub1000
- 205 printleft$(l$,p)tab(10)pt$
- 206 getan$:ifan$=""then206
- 208 ifan$=chr$(17)then1250
- 210 ifan$=chr$(145)then1300
- 215 ifan$=chr$(13)then2000
- 220 ifan$=chr$(32)andg=>24thengosub3000:goto140
- 222 ifan$=chr$(32)thengosub3000:h=13:lc=55590:p=8:goto150
- 225 goto204
- 230 print"[147]";:poke53280,0:poke53281,6
- 235 print"[158][204]oading...";chr$(34);p$(h)chr$(34);""
- 240 print "load";chr$(34);p$(h);chr$(34);",8"
- 250 print "run":print "[145][145][145][145][145][145][145][145][145]"
- 260 poke 631,13:poke 632,13:poke 198,2:end
- 800 print"[147]":printleft$(l$,2)tab(2)"[158][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 810 printleft$(l$,3)tab(2)"[158][221] [154][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174][158] [221]"
- 820 fori=1to16:printtab(2)"[221] [154][221] [221][158] [221]":next
- 830 printleft$(l$,20)tab(2)"[221] [154][173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][158] [221]"
- 835 printleft$(l$,21)tab(2)"[158][173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 840 printleft$(l$,22)tab(1)"[155][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 850 printleft$(l$,23)tab(1)"[221] [158][195]rsr[155]=[211]elect [211]pc[155]=[205]ore [195]/[210][155]=[197]xecute [221]"
- 860 printleft$(l$,24)tab(1)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 870 printleft$(l$,4)tab(10)"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 880 printtab(10)"[221] [205] [193] [201] [206] [205] [197] [206] [213] [221]"
- 890 printtab(10)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 900 return
- 1000 s=54272:pokes+23,0:pokes+24,15
- 1010 pokes+6,0:pokes+5,12:pokes+1,70:pokes+3,40
- 1020 pokes+4,0:pokes+4,65:ford=1to100:next:pokes+4,0:return
- 1250 printleft$(l$,p)tab(10)"[154] ":fori=0tof:pokelc+i,14:next
- 1260 h=h+1:ifh>gthenh=h-12
- 1262 p=p+1:ifp>19thenp=8
- 1265 lc=lc+40:iflc>56030thenlc=55590
- 1270 goto204
- 1300 printleft$(l$,p)tab(10)"[154] ":fori=0tof:pokelc+i,14:next
- 1310 h=h-1:ifh<g-11thenh=h+12
- 1312 p=p-1:ifp<8thenp=19
- 1315 lc=lc-40:iflc<55590thenlc=56030
- 1320 goto204
- 1550 sys828
- 1560 printleft$(l$,13)tab(4)"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 1570 printleft$(l$,14)tab(4)"[221] [212]his is a 128 [208]rogram.[201]t may [221]"
- 1580 printleft$(l$,15)tab(4)"[221] not be loaded in the 64 mode.[221]"
- 1590 printleft$(l$,16)tab(4)"[221] [217]ou must switch to the 128 [221]"
- 1600 printleft$(l$,17)tab(4)"[221] mode in order to load this [221]"
- 1610 printleft$(l$,18)tab(4)"[221] program successfully. [213]se the[221]"
- 1620 printleft$(l$,19)tab(4)"[221] prescribed method which is...[221]"
- 1630 printleft$(l$,20)tab(4)"[221] [196][204]oad ''[208]rogname'' [221]"
- 1640 printleft$(l$,21)tab(4)"[221] [158][[208]ress any [203]ey] [221]"
- 1650 printleft$(l$,22)tab(4)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 1660 printleft$(l$,23)tab(3)"[155] ":gosub1000
- 1670 getan$:ifan$=""then1670
- 1680 sys882:goto225
- 1997 rem **************************
- 1998 rem **** window routine ****
- 1999 rem **************************
- 2000 sys828
- 2010 printleft$(l$,5)tab(11)"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 2030 printleft$(l$,6)tab(11)"[221][211]ee [201]nstructions[221]"
- 2040 printleft$(l$,7)tab(11)"[221][210]un [208]rogram [221]"
- 2050 printleft$(l$,8)tab(11)"[221][195]ancel [215]indow [221]"
- 2060 printleft$(l$,9)tab(11)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 2070 po=55507:x=0
- 2080 fori=1to16:pokepo+i,1:next:gosub1000
- 2090 getan$:ifan$=""then2090
- 2100 ifan$=chr$(17)thengosub2200:po=po+40:x=x+1:ifpo>55587thenpo=55507
- 2110 ifx>2thenx=0
- 2120 ifan$=chr$(13)then2140
- 2130 goto2080
- 2140 ifx=0thensys882:goto4100
- 2145 ifx=2then2160
- 2146 ifh=3orh=16orh=17orh=20thensys882:goto1550
- 2159 ifx=1thensys882:goto230
- 2160 sys882:goto225
- 2200 fori=1to16:pokepo+i,5:next:return
- 2500 p$(1)="[198]lankspeed"
- 2510 p$(2)="64 [194]ug [210]ep"
- 2520 p$(3)="128 [194]ug [210]ep."
- 2530 p$(4)="[195]runchman1"
- 2540 p$(5)="[212]urtle [194]oot"
- 2550 p$(6)="[202]ailbreak [194]oot"
- 2560 p$(7)="[212]he [193]dventurer"
- 2570 p$(8)="[196]ungeon [205]aker"
- 2580 p$(9)="[211]ixfortymla"
- 2590 p$(10)="[211]ixfortybas"
- 2600 p$(11)="[211]ixforty basic"
- 2610 p$(12)="[215]indow [205]agic[194]oot"
- 2615 p$(13)="[205]agic [196]emo"
- 2620 p$(14)="[211]hort [196]emo"
- 2630 p$(15)="[213]ser [194]oot"
- 2640 p$(16)="string loader"
- 2650 p$(17)="flashy windows"
- 2660 p$(18)="[211]creen [198]lash"
- 2670 p$(19)="[211]tring [204]oader 64"
- 2690 p$(20)="more basic 128"
- 2700 p$(21)="[196]istance [198]inder"
- 2710 p$(22)="[199]reased [201]gpay"
- 2720 p$(23)="[196]igit [196]ecomp."
- 2730 p$(24)="[211]ix [195]ouples"
- 2740 return
- 3000 forcl=8to19:printleft$(l$,cl)tab(14)"[154] ":next
- 3010 printleft$(l$,p)tab(10)"[154] ":return
- 4000 poke657,128:rem disable shift/com key
- 4010 rem poke775,200:rem disable listing
- 4020 rem poke808,234:rem disable stop/restore
- 4030 l$="":pt$="[154]=>":return
- 4100 sys828
- 4110 printleft$(l$,8)tab(1)"[159][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 4120 fori=9to14:printleft$(l$,i)tab(1)"[221] [221]"
- 4125 next
- 4130 printleft$(l$,15)tab(1)"[221] [158][[195]/[210]=[195]ancel * [211]pc=[210]un [208]rogram][159] [221]"
- 4140 printleft$(l$,16)tab(1)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 4145 printleft$(l$,23)tab(3)"[155] ":gosub1000
- 4150 fori=1to5:printleft$(l$,8+i)tab(3)"[159]"in$(h,i):next
- 4160 getan$:ifan$=""then4160
- 4170 ifan$=chr$(13)thensys882:goto204
- 4180 ifh=3orh=16orh=17orh=20thensys882:goto1550
- 4190 ifan$=chr$(32)thensys882:goto230
- 4200 goto4160
- 5000 fori=828to935:reada:pokei,a:next:return
- 5010 data 160,0,185,0,4,153,0,192
- 5020 data 185,0,216,153,240,195,185,250
- 5030 data 4,153,250,192,185,250,216,153
- 5040 data 234,196,185,244,5,153,244,193
- 5050 data 185,244,217,153,228,197,185,238
- 5060 data 6,153,238,194,185,238,218,153
- 5070 data 222,198,200,208,205,96,160,0
- 5080 data 185,0,192,153,0,4,185,240
- 5090 data 195,153,0,216,185,250,192,153
- 5100 data 250,4,185,234,196,153,250,216
- 5110 data 185,244,193,153,244,5,185,228
- 5120 data 197,153,244,217,185,238,194,153
- 5130 data 238,6,185,222,198,153,238,218
- 5140 data 200,208,205,96
- 5799 rem ---------------------------
- 5800 rem ** max of 33 chrs in length **
- 5801 rem ---------------------------
- 5900 fori=1to24:forx=1to5:readin$(i,x):next:next:return
- 5999 rem program #1
- 6000 data "[212]his is [193]hoy!'s [205]achine [204]anguage "
- 6001 data "entry program for our adventurous"
- 6002 data "readers who like to type in the"
- 6003 data "programs from our magazine."
- 6004 data " "
- 6009 rem program #2
- 6010 data "[212]his is [193]hoy!'s checksum program."
- 6011 data "[213]se it for mistake-proof typing"
- 6012 data "of [193]hoy! magazine [194]asic programs."
- 6013 data " "
- 6014 data " "
- 6019 rem program #3
- 6020 data "[212]his is [193]hoy!'s checksum program"
- 6021 data "for the [195]-128 computer. [213]se it "
- 6022 data "for mistake-proof magazine [194]asic"
- 6023 data "program entry. "
- 6024 data " "
- 6029 rem program #4
- 6030 data "[195]runchman: an extremely fast [195]-64"
- 6031 data "program offering arcade quality"
- 6032 data "[208]ac-[205]an style graphics and gameplay"
- 6033 data ". [213]se a joystick in [208]ort 2 "
- 6034 data " "
- 6039 rem program #5
- 6040 data "[212]urtle [210]escue: a machine language"
- 6041 data "children's game for the [195]-64, "
- 6042 data "requiring players to rescue turtles"
- 6043 data "from invading spiders. [193] joystick"
- 6044 data "in [208]ort 2 is required. "
- 6049 rem program #6
- 6050 data "[202]ailbreak: a [195]-64 machine language"
- 6051 data "game requiring the player to escape"
- 6052 data "from prison and collect the "
- 6053 data "evidence that will clear him. "
- 6054 data "[210]equires a joystick in [208]ort 2."
- 6059 rem program #7
- 6060 data "[212]he [193]dventurer: a [195]-64 game sending"
- 6061 data "the player deep into the earth's "
- 6062 data "danger-fraught bowels with only "
- 6063 data "a stilleto for protection. [213]se "
- 6064 data "a joystick in [208]ort 2. "
- 6069 rem program #8
- 6070 data "[196]ungeon [205]aker: creates the dungeon"
- 6071 data "file called 'dj' which is auto- "
- 6072 data "matically loaded by [212]he [193]dventurer."
- 6073 data "([206]ot required to play the game; "
- 6074 data "see article.) "
- 6079 rem program #9
- 6080 data "[211]ixforty: a program which doubles"
- 6081 data "the resolution of the [195]-64 hi-res"
- 6082 data "screen to 640 x 200. [204]oad "
- 6083 data "[211]ixfortymla, then load and run "
- 6084 data "[211]ixfortybas. "
- 6089 rem program #10
- 6090 data "[211]ixfortybas: first load [211]ixfortymla"
- 6091 data "then load [211]ixfortybas. "
- 6092 data" "
- 6093 data" "
- 6094 data" "
- 6099 rem program #11
- 6100 data"[211]ixforty [194][193][211][201][195]: use this program "
- 6101 data"to create '[211]ixfortymla' on another"
- 6102 data"disk. "
- 6103 data" "
- 6104 data" "
- 6109 rem program #12
- 6110 data"[215]indow [205]agic: a window management "
- 6111 data"program for the [195]-64 which adds 11 "
- 6112 data"new commands to [194][193][211][201][195]. "
- 6113 data" "
- 6114 data" "
- 6119 rem program #13
- 6120 data"[205]agic [196]emo: a demonstration program"
- 6121 data"for [215]indow [205]agic, providing many "
- 6122 data"examples of [215]indow [205]agic commands."
- 6123 data" "
- 6124 data" "
- 6129 rem program #14
- 6130 data"[211]hort [196]emo: a short demonstration"
- 6131 data"of [215]indow [205]agic's power. "
- 6132 data" "
- 6133 data" "
- 6134 data" "
- 6139 rem program #15
- 6140 data"[213]ser [195]onventions: a [195]-64 utility "
- 6141 data"enabling users to create cheat "
- 6142 data"sheets for their software. "
- 6143 data" "
- 6144 data" "
- 6149 rem program #16
- 6150 data"string loader: a [195]-128 [194][193][211][201][195] loader"
- 6151 data"program provided as an example by "
- 6152 data"this month's [210]upert [210]eport. "
- 6153 data" "
- 6154 data" "
- 6159 rem program #17
- 6160 data"flashy windows: a program included"
- 6161 data"with this month's [210]upert [210]eport "
- 6162 data"to demonstrate the [195]-128's window "
- 6163 data"capabilities. [211]tring loader must be"
- 6164 data"loaded and run first. "
- 6169 rem program #18
- 6170 data"[211]creen [198]lash: a program included "
- 6171 data"with this month's [210]upert [210]eport "
- 6172 data"to demonstrate the [211][212][210][201][206][199][160]command"
- 6173 data"on the 64. [204]oad and run [211]tring "
- 6174 data"loader 64 first. "
- 6179 rem program #19
- 6180 data"a [195]-64 version of string loader. "
- 6181 data" "
- 6182 data" "
- 6183 data" "
- 6184 data" "
- 6189 rem program #20
- 6190 data"more basic 128: a program which adds"
- 6191 data"five new commands to [194][193][211][201][195] 7.0. "
- 6192 data"[204]oad and run more basic 128, not "
- 6193 data"not any of the other more basic "
- 6194 data"files on the disk. [211]ee magazine."
- 6199 rem program #21
- 6200 data"[196]istance [198]inder: [211]olution to the "
- 6201 data"[207]ctober '86 [195]ommodare. [212]he program"
- 6202 data"calculates the straight-line "
- 6203 data"distance between two points. "
- 6204 data" "
- 6209 rem program #22
- 6210 data"[199]reased [201]gpay: [211]olution to the "
- 6211 data"[207]ctober '86 [195]ommodare that "
- 6212 data"requested a [208]ig [204]atin translator "
- 6213 data"program. "
- 6214 data" "
- 6219 rem program #23
- 6220 data"[196]igit [196]ecomposition: [195]-64 [195]ommodare"
- 6221 data"solution that's asking the user to"
- 6222 data"input a positive integer up to nine"
- 6223 data"digits long, separating the digits"
- 6224 data"by appropriate +'s and = signs."
- 6229 rem program #24
- 6230 data"[211]ix [195]ouples: a solution to the "
- 6231 data"[207]ctober '86 [195]ommodare requiring "
- 6232 data"the user to pair individuals "
- 6233 data"according to age, height, complexion"
- 6234 data"and build. "
-